/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bio.jpa.session;

import javax.ejb.Stateless;
import javax.faces.context.FacesContext;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import com.bio.jpa.entities.UserHasGroup;

/**
 *
 * @author Diego
 */
@Stateless
public class UserHasGroupFacade extends AbstractFacade<UserHasGroup> {

    @PersistenceContext(unitName = "BioDeskPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public UserHasGroupFacade() {
        super(UserHasGroup.class);
    }
}
